-- GENERATED SPELL FOR [Guardian Serpent] --


function spell0_26806(pUnit, Event) --@Tail Lash,n/a--
pUnit:FullCastSpellOnTarget(34811,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_26806', 514, 1)
end

function Sorts_26806(pUnit, Event)
local choix_sorts_26806 = math.random(0, 0)
if choix_sorts_26806 == 0 then
pUnit:RegisterEvent('spell0_26806', 1, 1)
end
end

function mob26806_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_26806', math.random(1500, 3000), 1)
end

function mob26806_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26806_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26806_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(26806, 1, 'mob26806_Action')
RegisterUnitEvent(26806, 2, 'mob26806_Leave')
RegisterUnitEvent(26806, 3, 'mob26806_Kill')
RegisterUnitEvent(26806, 4, 'mob26806_Die')
